package IoC;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-10-26
 * Time: 10:15
 */
public class Car {
    private FrameWork frameWork;

    //采用注入的形式，减少耦合
    public Car(FrameWork frameWork) {
        this.frameWork = frameWork;
    }

    public void Init() {
        frameWork.Init();
    }
}
